<html>
<body>{% block header %}
original header
{% endblock %}

<div>{% block content %}{% endblock %}</div>

{% block footer %}
{% endblock %}</body>
</html>